package com.longer.demo.framework.druid;

import com.alibaba.druid.support.http.StatViewServlet;

import javax.servlet.Servlet;
import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;

/**
 * @program: demo
 * @description:
 * @author: SunBiaoLong
 * @create: 2019-01-08 14:33
 **/
//@WebServlet(
//		urlPatterns = "/druid/*",
//		initParams = {
//				@WebInitParam(name="allow",value="127.0.0.1"),
//				@WebInitParam(name="loginUsername",value="longer"),
//				@WebInitParam(name="loginPassword",value="123456"),
//				// 允许HTML页面上的“Reset All”功能
//				@WebInitParam(name="resetEnable",value="true")
//		}
//)
public class DruidStatViewServlet extends StatViewServlet implements Servlet {
	private static final long serialVersionUID = 1L;
}
